var wrap = document.getElementById('wrap');

var conbegin = document.getElementById('ConBegin');
var width = window.getComputedStyle(conbegin,null).width;
console.log(width);
function move(){
    wrap.scrollLeft++;
       
        if(wrap.scrollLeft >= parseFloat(window.getComputedStyle(conbegin,null).width)){
            wrap.scrollLeft = 0;
        }
}
var timer = window.setInterval(move,1);

var box = document.getElementById('box');
box.addEventListener('mousemove',function(){
    window.clearInterval(timer);
})

box.addEventListener('mouseout',function(){
timer = window.setInterval(move,1);
})